<?php
namespace App\Api\Web\Models;

use Illuminate\Database\Eloquent\Model;

class Comment extends Model
{
    protected $table = 'comment';

    protected $fillable = [
        'type',
        'post_id',
        'source',
        'user_id',
        'text',
        'reply_count',
    ];

    static $type = [
        '1' => '房源评论',
        '2' => '求租评论',
    ];

}